package com.zcc.makingfriend.dto;

import com.zcc.makingfriend.dao.Article;
import com.zcc.makingfriend.dao.Message;
import com.zcc.makingfriend.dao.User;
import lombok.Data;

/**
 * @author zcc
 */
@Data
public class MessageDto {
    private Message message;
    private Article article;
    private User fromUser;
    private User toUser;

    public MessageDto(Message message, Article article, User fromUser, User toUser) {
        this.message = message;
        this.article = article;
        this.fromUser = fromUser;
        this.toUser = toUser;
    }
}
